<{$xwlmlist=XWLM::query(['XWLM_SFXS'=>'是'])}>
<{foreach $xwlmlist.DataList as $xwlm}>
    <{$xwxxlist=XWXX::query(['XWLM_BH'=>$xwlm->XWLM_BH,'XWXX_ZT'=>'显示'],$xwlm->XWLM_MRXSTS,1," order by XWXX.XWXX_RQ DESC")}>
    <div class="resource">
        <div class="resource-title">
            <h2><{$xwlm->XWLM_MC}></h2>
            <a target="_blank" href="~/Front/XWXX_LIST?XWLM_BH=@(xwlm.XWLM_BH)" class="resource-title-more">More>></a>
            <b class="title-triangle"></b>
        </div>
        <ul class="resource-list">
            <{foreach $xwxxlist.DataList as  $xwxx}>
                <li class="resource-item">
                    <{if $xwxx->XWXX_LX==="超文本"}>
                        <a href="~/Front/XWXX_Detail?XWXX_BH=xwxx.XWXX_BH" class="resource-item-title"><{$xwxx->XWXX_BT}></a>
                    <{else}>
                        <a target="_blank" href="@(xwxx.XWXX_CLJ)" class="resource-item-title"><{$xwxx->XWXX_BT}></a>
                    <{/if}>
                    <img src="<{$xwxx->XWXX_TP}>" style="float:left; width:59px; height: 44px;padding:1px; border:0px solid #333333;display: inline;box-shadow: 1px 1px 0 rgba(0,0,0,0.6);"/>
                    <div style="display: inline;">
                        <p style="width:180px;" class="resource-context"><{$xwxx->XWXX_ZY}></p>
                    </div>

                </li>
            <{/foreach}>
        </ul>
    </div>
<{/foreach}>
